﻿using CatUtils.Utils.Currency.IoUtils;
using CatUtils.Utils.Helper;
using CatUtils.Utils.SpecialUtils.View;
using MusicPhotograph.UserView;
using MusicPhotograph.VideoHelper;
using System;
using System.Windows.Forms;

namespace MusicPhotograph
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitView();
        }

        private void InitView()
        {
            Console.WriteLine(StaticValue.BinImportPath);
            Groupboxhelper.InitAll(groupBox1, comboBox1, ViewManger.ComboxList);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            new FloderHelper().OpenFloder(".\\");
        }

        private void button2_Click(object sender, EventArgs e)
        {
            new VideoTool().ImageToVideo(new FileHelper().SelectFile());
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            //viewhelper
        }

        private void button3_Click(object sender, EventArgs e)
        {
            new VideoTool().CreateVideo();
        }
    }
}